Matlab Code for Optical Character Recognition